package hu.rsc.feeds.client.data;

import com.google.gwt.user.client.rpc.IsSerializable;

public class ServerMessage<T> implements IsSerializable {
    private T object;
    private String message;
    private boolean success;

    public ServerMessage() {

    }

    public String getMessage() {
	return this.message;
    }

    public T getObject() {
	return this.object;
    }

    public boolean isSuccess() {
	return this.success;
    }

    public void setMessage(String message) {
	this.message = message;
    }

    public void setObject(T object) {
	this.object = object;
    }

    public void setSuccess(boolean success) {
	this.success = success;
    }

}
